<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
 
 </head>
<script src="jquery-1.7.2.min.js"></script>
 <body>

  
  <div id="test">test</div>
 </body>
</html>
  <script type="text/javascript">
  <!--
	var html='<a >hello !</a><br>';
	var t='<div id=t> test<input type=text name=t2 value=t2 /><div id=t3 >t33</div></div>';
     var tt=  $(t).find("div[id=t3]").append(html).get(); ;
     //alert(t);
   // if($("#test")){alert($("#test").text());}
	$("#test").append(tt);
  
  //-->
  </script>